#ifndef GFXSTATS_H
#define GFXSTATS_H

#include "cFont.h"

class GfxStats {
	public:
		//Initialize the class member data
		GfxStats();

		//Free the memory this class consumes
		~GfxStats();

		//Increase the amount of Vertices
		void addVertices(DWORD count);

		//Increase the amount of Triangles
		void addTriangles(DWORD count);

		//Decrease the amount of Vertices
		void subVertices(DWORD count);

		//Decrease the amount of Triangles
		void subTriangles(DWORD count);

		//
		void setTriCount(DWORD count);

		//
		void setVertexCount(DWORD count);

		//
		void update(float dt);

		//Display the class information to the screen
		void displayStats();

	private:
		//Holds the amount of vertices
		DWORD m_vertexCount;

		//Holds the amount of triangles
		DWORD m_triangleCount;

		//Holds the amount of Frames Per Second
		float mFPS;

		//Holds the amount of seconds per frame
		float mSecondsPerFrame;

		//Holds the Milliseconds divided by the Frames Per Second
		float mMilliSecsPerFrame;

		//Object of the font class to draw the text to screen
		cFont *m_pFont;
};
#endif